[Kst] branches/work/kst/portto4/kst/src/libkstapp

Barth Netterfield netterfield at astro.utoronto.ca
Tue Jun 12 21:28:03 UTC 2012


SVN commit 1300157 by netterfield:

BUG: 300014
Don't allow plots in a shared axis box to be resized.


 M  +5 -0      plotitemdialog.cpp  


--- branches/work/kst/portto4/kst/src/libkstapp/plotitemdialog.cpp #1300156:1300157
@@ -29,6 +29,7 @@
 #include "plotitem.h"
 #include "image.h"
 #include "imagedialog.h"
+#include "dimensionstab.h"
 
 #include "filltab.h"
 #include "stroketab.h"
@@ -151,6 +152,10 @@
   selectDialogPage(contentsPage);
   _saveAsDefault->show();
 
+  if (item->isInSharedAxisBox()) {
+    _dimensionsTab->setEnabled(false);
+  }
+
   connect(this, SIGNAL(editMultipleMode()), this, SLOT(editMultiple()));
   connect(this, SIGNAL(editSingleMode()), this, SLOT(editSingle()));
   connect(this, SIGNAL(apply()), this, SLOT(slotApply()));


More information about the Kst mailing list