summaryrefslogtreecommitdiffstats
path: root/src/commands/edit/SetTriggerCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/edit/SetTriggerCommand.h')
-rw-r--r--src/commands/edit/SetTriggerCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/edit/SetTriggerCommand.h b/src/commands/edit/SetTriggerCommand.h
index 898bf0b..a87eab8 100644
--- a/src/commands/edit/SetTriggerCommand.h
+++ b/src/commands/edit/SetTriggerCommand.h
@@ -51,7 +51,7 @@ public:
std::string timeAdjust,
Mark mark,
TQString name = 0) :
- BasicSelectionCommand(name ? name : getGlobalName(), selection, true),
+ BasicSelectionCommand(!name.isNull() ? name : getGlobalName(), selection, true),
m_selection(&selection),
m_triggerSegmentId(triggerSegmentId),
m_notesOnly(notesOnly),