aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.cpp')
-rw-r--r--src/parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.cpp b/src/parser.cpp
index 575fc78..90447d4 100644
--- a/src/parser.cpp
+++ b/src/parser.cpp
@@ -1811,8 +1811,8 @@ StateECommand::custom(gchar chr)
*/
case 'F':
BEGIN_EXEC(&States::start);
- if (!ring.current)
- throw Error("No buffer selected");
+ if (QRegisters::current)
+ throw Error("Q-Register currently edited");
if (IS_FAILURE(expressions.pop_num_calc()) &&
ring.current->dirty)