Version: HEAD (using KDE KDE 3.4.0) Installed from: Compiled From Sources OS: Linux PROBLEM: When the text associated with a label is removed all the other properties are reset. STEPS TO REPRODUCE: Start Kst In the default window create a text label by dragging the mouse to set the desired size Enter some text in the edit field of the Edit Label dialog Change the forground color to green Hit OK Enter layout mode and double click on the text label Remove the text from the edit field of the Edit Label dialog Hit OK Double click on the text label EXPECTED RESULTS: The foregound color is green in the Edit Label dialog RESULTS: The forground color is black in the Edit Label dialog
SVN commit 490161 by staikos: only act as a new dialog if it really is a new dialog. new variable created to indicate that this is a 'new' object backs out some of 490135 to keep legends consistent with labels, since it's really the same bug. BUG: 118755 M +2 -1 kst2dplot.cpp M +1 -1 kst2dplot.h M +8 -1 ksteditviewobjectdialog_i.cpp M +2 -0 ksteditviewobjectdialog_i.h M +1 -1 kstgfxpicturemousehandler.cpp M +1 -1 kstgfxtextmousehandler.cpp M +2 -2 kstviewlabel.cpp M +11 -11 kstviewlabel.h M +69 -63 kstviewlegend.cpp M +10 -10 kstviewlegend.h M +9 -6 kstviewobject.cpp M +2 -2 kstviewobject.h