summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 5432ea2..e0b78e0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -80,6 +80,9 @@ int main(int argc, char **argv) {
}
got::checkIn(*choice);
gui::showNotification("Checked in to sheet '" + *choice + "'");
+ if (auto descr = gui::promptText("Set text for this '" + *choice + "' entry:")) {
+ got::editRunning(*descr);
+ }
}
});
@@ -97,6 +100,9 @@ int main(int argc, char **argv) {
if (got::getRunning()) got::checkOut();
got::checkIn("misc");
gui::showNotification("Switched to 'misc'");
+ if (auto descr = gui::promptText("Set text for this 'misc' entry:")) {
+ got::editRunning(*descr);
+ }
});
matcher.addSequence({Config::TRIGGER_KEY_X}, []() {