Skip to content

Commit 4234261

Browse files
committed
act_on : use hover as default
1 parent e134455 commit 4234261

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

data/darktableconfig.xml.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@
16531653
<dtconfig prefs="lighttable" section="general">
16541654
<name>plugins/lighttable/act_on</name>
16551655
<type>bool</type>
1656-
<default>false</default>
1656+
<default>true</default>
16571657
<shortdescription>prioritise the hovered image over the selected images</shortdescription>
16581658
<longdescription>this define how the image to act on list is constructed.</longdescription>
16591659
</dtconfig>

src/common/act_on.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,8 @@
2929
#include <sqlite3.h>
3030

3131
// get the algorithm set in preference
32-
// this take care of the different startup values if not already defined
33-
// direct access to the pref should not be used !
3432
dt_act_on_algorithm_t dt_act_on_get_algorithm()
3533
{
36-
if(!dt_conf_key_defined("plugins/lighttable/act_on"))
37-
{
38-
// we are on an "old" darktable installation.
39-
// in this case we set the algorithm to "hovered" to avoid an unexpected change to the user
40-
// in the case of a new installation, the "selection" algorithm is the default
41-
dt_conf_set_bool("plugins/lighttable/act_on", TRUE);
42-
return DT_ACT_ON_HOVER;
43-
}
4434
if(dt_conf_get_bool("plugins/lighttable/act_on"))
4535
return DT_ACT_ON_HOVER;
4636
else

0 commit comments

Comments
 (0)