[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeedu/kstars/kstars/tools
From: Jason Harris <kstars () 30doradus ! org>
Date: 2005-05-01 14:22:14
Message-ID: 20050501142214.76D7C66A () office ! kde ! org
[Download RAW message or body]
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@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();
+ }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic