[Kstars-devel] kdeedu/kstars/kstars/tools
Jason Harris
kstars at 30doradus.org
Sun May 1 16:22:14 CEST 2005
CVS commit by harris:
Fixing 2 bugs in the observing list:
+ Opening a list does not trigger the "isModified" flag; it is only
triggered if the user actually modifies the list.
+ Clicking Cancel in the "Name List" window (which appears when you
click the "Save As" button) now works as expected.
Thanks for pointing these out Jasem.
more to come...
CCMAIL: kstars-devel at kde.org
M +6 -2 observinglist.cpp 1.12
--- kdeedu/kstars/kstars/tools/observinglist.cpp #1.11:1.12
@@ -434,4 +434,5 @@ void ObservingList::slotOpenList() {
//the existing one, that code would go here
obsList.clear();
+ ui->table->clear();
}
@@ -448,4 +449,7 @@ void ObservingList::slotOpenList() {
}
+ //Newly-opened list should not trigger isModified flag
+ isModified = false;
+
f.close();
@@ -468,7 +472,7 @@ void ObservingList::slotSaveListAs() {
if ( fileURL.isValid() )
FileName = fileURL.path();
- }
slotSaveList();
+ }
}
More information about the Kstars-devel
mailing list