Skip to content

Commit

Permalink
Merge pull request #24 from pshriwise/move_pixmap_update
Browse files Browse the repository at this point in the history
Pixelmap update after scaling and basis update.
  • Loading branch information
paulromano authored Jun 5, 2019
2 parents 744c6a5 + dfb0716 commit 607b0c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions openmc-plotter
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ class MainWindow(QMainWindow):
if self.model.activeView != self.model.currentView:
self.statusBar().showMessage('Generating Plot...')
QApplication.processEvents()

self.model.storeCurrent()
self.model.subsequentViews = []
self.plotIm.generatePixmap()
Expand Down Expand Up @@ -784,9 +783,9 @@ class MainWindow(QMainWindow):
self.colorDialog.updateDomainTabs()

def showCurrentView(self):
self.plotIm.updatePixmap()
self.updateScale()
self.updateRelativeBases()
self.plotIm.updatePixmap()

if self.model.previousViews:
self.undoAction.setDisabled(False)
Expand Down

0 comments on commit 607b0c1

Please sign in to comment.