Skip to content

Commit

Permalink
Fix GADRAS drf directory in macOS app, and some small compile error.
Browse files Browse the repository at this point in the history
Also update version 1.0.13 in CMakeLists.txt.
  • Loading branch information
wcjohns committed Sep 22, 2024
1 parent 2e9cf50 commit 1fe57a5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.1...3.20 FATAL_ERROR)

project(InterSpec VERSION 1.0.12)
project(InterSpec VERSION 1.0.13)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down
2 changes: 2 additions & 0 deletions src/DrfSelect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,8 @@ namespace

string trialpath = InterSpec::staticDataDirectory();
trial_paths.push_back( trialpath );
trialpath = SpecUtils::lexically_normalize_path( SpecUtils::append_path( trialpath, "..") );
trial_paths.push_back( trialpath );

trialpath = SpecUtils::append_path( SpecUtils::append_path( trialpath, ".."), "data_ouo" );
trialpath = SpecUtils::lexically_normalize_path( trialpath );
Expand Down
2 changes: 1 addition & 1 deletion src/PeakInfoDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ void PeakInfoDisplay::init()

auto enableDisableCsv = [this,csvButton,copyButton](){
const bool enable = (m_model->rowCount() > 0);
csvButton->setEnabled( enable );
csvButton->setDisabled( !enable );
copyButton->setEnabled( enable );
};

Expand Down
2 changes: 1 addition & 1 deletion target/osx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)

project( InterSpecApp VERSION 1.0.12 )
project( InterSpecApp VERSION 1.0.13 )

if(POLICY CMP0114)
# Add @rpath to the install_name of shared libraries and frameworks that are part of a macOS application bundle.
Expand Down

0 comments on commit 1fe57a5

Please sign in to comment.