- made sure that clicking the icons in the status bar works only for the left mouse click
- if clicking the activity icon in the status bar and there is no object selected then the effect will be a plot_all with fit_view - modified the FCLabel GUI element
This commit is contained in:
10
app_Main.py
10
app_Main.py
@@ -5778,9 +5778,13 @@ class App(QtCore.QObject):
|
||||
self.log.debug("on_toolbar_replot()")
|
||||
|
||||
try:
|
||||
self.collection.get_active().read_form()
|
||||
except AttributeError:
|
||||
self.log.debug("on_toolbar_replot(): AttributeError")
|
||||
obj = self.collection.get_active()
|
||||
if obj:
|
||||
obj.read_form()
|
||||
else:
|
||||
self.on_zoom_fit()
|
||||
except AttributeError as e:
|
||||
log.debug("on_toolbar_replot() -> %s" % str(e))
|
||||
pass
|
||||
|
||||
self.plot_all()
|
||||
|
||||
Reference in New Issue
Block a user