View Issue Details

IDProjectCategoryView StatusLast Update
0016174ScribusGeneralpublic2020-07-20 05:25
Reporterale Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Product Version1.5.6.svn 
Target VersionFixed in Version 
Summary0016174: how to correctly check if undo is enabled?
Descriptionscribus.cpp contains three ways:

- m_undoManager->undoEnabled();
- UndoManager::instance()->undoEnabled()
- UndoManager::undoEnabled()

are all the same?
- if yes, can somebody change all of them to be one of them?
- if not, what is the difference? (and how we can document it?)
TagsNo tags attached.
PatchNo

Activities

jghali

2020-07-20 04:49

administrator   ~0047854

Last edited: 2020-07-20 05:25

View 2 revisions

The three calls are equivalent as undoEnabled() returns the value of a static UndoManager member.

Issue History

Date Modified Username Field Change
2020-07-19 13:15 ale New Issue
2020-07-20 04:49 jghali Note Added: 0047854
2020-07-20 05:25 jghali Note Edited: 0047854 View Revisions