View Issue Details

IDProjectCategoryView StatusLast Update
0016174ScribusGeneralpublic2020-09-03 15:08
Reporterale Assigned Tojghali  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionno change required 
Product Version1.5.6.svn 
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

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
2020-09-03 15:07 jghali Assigned To => jghali
2020-09-03 15:07 jghali Status new => resolved
2020-09-03 15:07 jghali Resolution open => no change required
2020-09-03 15:08 jghali Status resolved => closed