Commit 214c4c64 authored by acpaquette's avatar acpaquette Committed by Christine Kim
Browse files

Qview command line Fix (#5505)

* Avoid double image load when opening cubes from cmdline in qview

* Added changelog entry

* Revert interval change
parent cfba3fe4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -37,6 +37,7 @@ release.

### Fixed
- Fixed a bug in QVIEW's Stretch tool where the default min/max type was not an available option [#5289](https://github.com/DOI-USGS/ISIS3/issues/5289)
- Fixed a bug in QVIEW where images would double load if loaded from the commandline [#5505](https://github.com/DOI-USGS/ISIS3/pull/5505)

## [8.2.0] - 2024-04-18

+8 −1
Original line number Diff line number Diff line
@@ -754,7 +754,14 @@ namespace Isis {
   * @return bool
   */
  bool ViewportBuffer::working() {
    return !p_actions->empty() || !p_bufferInitialized || !p_enabled;
    bool hasFillAction = false;
    for (auto action : *p_actions) {
      if (action->getActionType() == ViewportBufferAction::fill) {
        hasFillAction = true;
        break;
      }
    }
    return hasFillAction || !p_bufferInitialized || !p_enabled;
  }