mirror of
https://github.com/fralx/LimeReport.git
synced 2025-09-26 17:59:08 +03:00
Finish 1.4.122
# Conflicts: # limereport/lrdatasourcemanager.cpp # limereport/lrreportdesignwindow.cpp # limereport/lrreportengine.cpp
This commit is contained in:
@@ -78,7 +78,7 @@ PageDesignIntf::PageDesignIntf(QObject *parent):
|
||||
m_changePosMode(false),
|
||||
m_changePosOrSizeMode(false),
|
||||
m_executingCommand(false),
|
||||
m_hasHanges(false),
|
||||
m_hasChanges(false),
|
||||
m_isLoading(false),
|
||||
m_executingGroupCommand(false),
|
||||
m_settings(0),
|
||||
@@ -604,7 +604,7 @@ bool PageDesignIntf::saveCommand(CommandIf::Ptr command, bool runCommand)
|
||||
|
||||
m_commandsList.push_back(command);
|
||||
m_currentCommand = m_commandsList.count() - 1;
|
||||
m_hasHanges = true;
|
||||
m_hasChanges = true;
|
||||
emit commandHistoryChanged();
|
||||
return true;
|
||||
}
|
||||
@@ -621,7 +621,7 @@ bool PageDesignIntf::isCanUndo()
|
||||
|
||||
bool PageDesignIntf::isHasChanges()
|
||||
{
|
||||
return (m_commandsList.count() > 0) && m_hasHanges;
|
||||
return (m_commandsList.count() > 0) && m_hasChanges;
|
||||
}
|
||||
|
||||
bool PageDesignIntf::isItemInsertMode()
|
||||
@@ -1197,7 +1197,7 @@ void PageDesignIntf::undo()
|
||||
m_executingCommand = true;
|
||||
m_commandsList.at(m_currentCommand)->undoIt();
|
||||
m_currentCommand--;
|
||||
m_hasHanges = true;
|
||||
m_hasChanges = true;
|
||||
m_executingCommand = false;
|
||||
}
|
||||
}
|
||||
@@ -1208,7 +1208,7 @@ void PageDesignIntf::redo()
|
||||
m_executingCommand = true;
|
||||
m_currentCommand++;
|
||||
m_commandsList.at(m_currentCommand)->doIt();
|
||||
m_hasHanges = true;
|
||||
m_hasChanges = true;
|
||||
m_executingCommand = false;
|
||||
}
|
||||
}
|
||||
@@ -1318,7 +1318,7 @@ void PageDesignIntf::cut()
|
||||
|
||||
void PageDesignIntf::setToSaved()
|
||||
{
|
||||
m_hasHanges = false;
|
||||
m_hasChanges = false;
|
||||
}
|
||||
|
||||
void PageDesignIntf::bringToFront()
|
||||
|
Reference in New Issue
Block a user