Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Don't open edit with minitimer single click (win), #2354
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrekV committed Mar 2, 2018
1 parent 1d614b3 commit 4b59535
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,11 @@ private void tryOpenEditViewIfRunning(MouseButtonEventArgs e, string focusedFiel
{
if (this.isRunning)
{
if (this.PreventOnApp)
{
e.Handled = true;
return;
}
using (Performance.Measure("opening edit view from timer, focussing " + focusedField))
{
Toggl.Edit(this.runningTimeEntry.GUID, false, focusedField);
Expand Down

0 comments on commit 4b59535

Please sign in to comment.