[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [5083] Resurrect documented behavior
From: |
Greg Chicares |
Subject: |
[lmi-commits] [5083] Resurrect documented behavior |
Date: |
Wed, 28 Jul 2010 20:12:37 +0000 |
Revision: 5083
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=5083
Author: chicares
Date: 2010-07-28 20:12:37 +0000 (Wed, 28 Jul 2010)
Log Message:
-----------
Resurrect documented behavior
Modified Paths:
--------------
lmi/trunk/census_view.cpp
Modified: lmi/trunk/census_view.cpp
===================================================================
--- lmi/trunk/census_view.cpp 2010-07-28 19:56:42 UTC (rev 5082)
+++ lmi/trunk/census_view.cpp 2010-07-28 20:12:37 UTC (rev 5083)
@@ -972,12 +972,7 @@
void CensusView::UponPasteCensus(wxCommandEvent&)
{
- // In the solution domain:
- // document modified <--> dirty flag set
- // loaded from file <--> document path not null
-// TODO ?? WX PORT !! How to do this with wx?
-// if(!document().IsModified() && 0 == document().GetDocPath())
-// if(!document().IsModified())
+ if(!document().IsModified() && !document().GetDocumentSaved())
{
cell_parms().clear();
class_parms().clear();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [5083] Resurrect documented behavior,
Greg Chicares <=